package com.ruoyi.plus.api.appLogin.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Set;


/**
 * @author likun
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel()
public class AppLoginVo implements Serializable {
    @ApiModelProperty("用户名")
    private String userName;
    @ApiModelProperty("昵称")
    private String nickName;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("头像")
    private String avatar;
    @ApiModelProperty("性别")
    private String sex;
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("token")
    private String token;
    @ApiModelProperty("部门id")
    private Long deptId;
    @ApiModelProperty("部门名称")
    private String deptName;
    @ApiModelProperty("权限")
    private Set<String> permissions;
    @ApiModelProperty("openId")
    private String openId;
}